package com.ruoyi.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * PhotonPay 配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "photon-pay")
public class PhotonPayConfig {

    /**
     * 开发者 id
     */
    private String appid;

    /**
     * 开发者密钥
     */
    private String appsecret;

    /**
     * 商户公钥
     */
    private String merchantPublicKey;

    /**
     * 商户私钥
     */
    private String merchantPrivateKey;

    /**
     * photonPay 公钥
     */
    private String photonPayPublicKey;

    /**
     * 环境URL
     */
    private String url;
}
